package com.ruoyi.consent.mapper;

import java.util.List;
import com.ruoyi.consent.domain.AlgsEquipmentConsent;

/**
 * 器材审批Mapper接口
 * 
 * @author ruoyi
 * @date 2023-03-21
 */
public interface AlgsEquipmentConsentMapper 
{
    /**
     * 查询器材审批
     * 
     * @param equipmentApplicationId 器材审批主键
     * @return 器材审批
     */
    public AlgsEquipmentConsent selectAlgsEquipmentConsentByEquipmentApplicationId(Long equipmentApplicationId);

    /**
     * 查询器材审批列表
     * 
     * @param algsEquipmentConsent 器材审批
     * @return 器材审批集合
     */
    public List<AlgsEquipmentConsent> selectAlgsEquipmentConsentList(AlgsEquipmentConsent algsEquipmentConsent);

    /**
     * 新增器材审批
     * 
     * @param algsEquipmentConsent 器材审批
     * @return 结果
     */
    public int insertAlgsEquipmentConsent(AlgsEquipmentConsent algsEquipmentConsent);

    /**
     * 修改器材审批
     * 
     * @param algsEquipmentConsent 器材审批
     * @return 结果
     */
    public int updateAlgsEquipmentConsent(AlgsEquipmentConsent algsEquipmentConsent);

    /**
     * 删除器材审批
     * 
     * @param equipmentApplicationId 器材审批主键
     * @return 结果
     */
    public int deleteAlgsEquipmentConsentByEquipmentApplicationId(Long equipmentApplicationId);

    /**
     * 批量删除器材审批
     * 
     * @param equipmentApplicationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAlgsEquipmentConsentByEquipmentApplicationIds(Long[] equipmentApplicationIds);
}
